package com.lz.ht.dao;

import com.lz.ht.model.Customer;
import com.lz.ht.model.Customers;

import java.util.HashMap;
import java.util.List;

public interface CustomersDao {
    int deleteByPrimaryKey(String cid);

    int insert(Customers record);

    int insertSelective(Customers record);

    Customers selectByPrimaryKey(String cid);

    void updateByPrimaryKeySelective(Customers record);

    int updateByPrimaryKey(Customers record);

    List<Customers> findListByMapLimit(HashMap<String,Object> hashMap);

/*    long findCount(Customers customers);*/

    long findCountByMap(HashMap<String,Object> hashMap);

    void add(Customers record);
}
